//
//  ANLongPicCell.m
//  AttitudeNews
//
//  Created by 刘晓萌 on 15/11/23.
//  Copyright © 2015年 刘晓萌. All rights reserved.
//

#import "ANLongPicCell.h"
#import "ANNewsModel.h"
#import "UIImageView+WebCache.h"

@interface ANLongPicCell ()
@property (weak, nonatomic) IBOutlet UILabel *newsTitleLabel;
@property (weak, nonatomic) IBOutlet UIImageView *newsImageViewa ;
@property (weak, nonatomic) IBOutlet UILabel *newsInfoLabel;
@end


@implementation ANLongPicCell

/**
 * 处理model传来的值
 */
-(void)makeData{
    self.newsTitleLabel.text = self.newsModel.title_lxm;
    [self.newsImageViewa sd_setImageWithURL:[NSURL URLWithString:self.newsModel.imgsrc]];
    self.newsInfoLabel.text = self.newsModel.digest;

}

- (void)awakeFromNib {
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
